package com.edu.service;

import java.util.List;

import com.edu.entity.GreenUser;
import com.edu.entity.Reason;
import com.edu.entity.ReasonTa;
import com.edu.entity.Shi;
import com.edu.entity.ShiC;
import com.edu.entity.ShiCs;
import com.edu.entity.User;
import com.edu.entity.YuanC;

public interface UserServlet {
	public List<User> allUser();
	public boolean queryNameAndPass(String name,String pass);
	public boolean update(User user); 
	public boolean Delete(int id);
	public List<User> queryByUser(User user);
	public List<User> absoluteQuery(int id,User user);
	public int InsertUser(User user);
	public List<User> queryByAUser();
	public List<YuanC> queryByAYuan(YuanC yuanc);
	public List<ShiC> queryByAYuan(ShiC shic);
	public boolean Deletes(int id);
	public boolean DeleteShi(int id);
	public boolean updateShi(ShiC shic);
	public boolean updateShis(ShiC shic);
	public int InsertRe(Reason reason);
	public int InsertRes(ReasonTa reasonTa);
	public int InsertShi(Shi shi);
	public int InsertShics(ShiCs shiCs);
	public int InsertJuan(GreenUser greenUser);
	public boolean UpdetJuan(GreenUser greenUser); 
	public boolean UpdetYuan(YuanC yuanC); 
	public boolean UpdetYuans(YuanC yuanC); 
	public List<ShiC> queryByShic();
	public List<YuanC> queryByAllYuan();
}
